class Demo1_DoWhile {
    public static void main(String [] args) {
        //需求：请在控制台输出数据1-10
        int i = 1;
        do {
            System.out.println("i = " +i);
            i++;
        }
        while (i <= 10);
    }
}